package com.example.backend.service;

import com.example.backend.entity.Warehouse;
import com.example.backend.entity.Company;
import java.util.List;

public interface WarehouseService {
    int addWarehouse(Warehouse warehouse);
    Warehouse getWarehouseById(Long id);
    List<Warehouse> getAllWarehouses();
    int updateWarehouse(Warehouse warehouse);
    int deleteWarehouse(Long id);
    List<Company> getCompaniesByWarehouseId(Long warehouseId);
    List<Warehouse> getAvailableWarehousesByPort(Long portId);

} 